home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 173_01 / makefile < prev    next >
Makefile  |  1980-01-01  |  3KB  |  120 lines

  1. $TYPE l
  2. $COMPILE $(MODEL) $*
  3. $MODEL c$(TYPE)e
  4. $NORMAL stdio.h lex.h
  5. $LINK lex,lex,\lc\$(TYPE)\lcm+\lc\$(TYPE)\lc+lex
  6. # There are four models supported by Lattice C: s, l, p, d
  7.  
  8. lex.exe lex.obj dfa.obj base.obj commen.obj eclosu.obj gettok.obj impure.obj integ.obj
  9. +lexcha.obj lexech.obj lexerr.obj lexget.obj lexlen.obj lexpee.obj lexswi.obj lexsrt.obj
  10. +llsave.obj lmovb.obj lmovi.obj mapch.obj min.obj outa.obj outb.obj token.obj
  11. +ytab.obj yylex.obj chprint.obj lex.lib
  12.     linkm$(TYPE) lex=base+dfa+eclosu+min+lexsrt+chprint+impure+outa+outb+ytab
  13. dfa.obj dfa.c lexlex.h
  14.     $(COMPILE)
  15. chprint.obj chprint.c lex.h
  16.     $(COMPILE)
  17. lex.obj lex.c system.h stats.c
  18.     $(COMPILE)
  19. base.obj base.c lexlex.h
  20.     $(COMPILE)
  21. commen.obj commen.c lexlex.h
  22.     $(COMPILE)
  23. eclosu.obj eclosu.c lexlex.h
  24.     $(COMPILE)
  25. gettok.obj gettok.c lex.h
  26.     $(COMPILE)
  27. impure.obj impure.c lexlex.h ytab.h
  28.     $(COMPILE)
  29. integ.obj integ.c lex.h
  30.     $(COMPILE)
  31. lexcha.obj lexcha.c lex.h
  32.     $(COMPILE)
  33. lexech.obj lexech.c lex.h
  34.     $(COMPILE)
  35. lexerr.obj lexerr.c lex.h
  36.     $(COMPILE)
  37. lexget.obj lexget.c lex.h
  38.     $(COMPILE)
  39. lexlen.obj lexlen.c lex.h
  40.     $(COMPILE)
  41. lexpee.obj lexpee.c lex.h
  42.     $(COMPILE)
  43. lexswi.obj lexswi.c lex.h
  44.     $(COMPILE)
  45. lexsrt.obj lexsrt.c lex.h
  46.     $(COMPILE)
  47. llsave.obj llsave.c lex.h
  48.     $(COMPILE)
  49. lmovb.obj lmovb.c lex.h
  50.     $(COMPILE)
  51. lmovi.obj lmovi.c lex.h
  52.     $(COMPILE)
  53. min.obj min.c lexlex.h
  54.     $(COMPILE)
  55. mapch.obj mapch.c lexlex.h
  56.     $(COMPILE)
  57. outa.obj outa.c lexlex.h
  58.     $(COMPILE)
  59. outb.obj outb.c lexlex.h
  60.     $(COMPILE)
  61. token.obj token.c lex.h
  62.     $(COMPILE)
  63. ytab.obj ytab.c lexlex.h
  64.     $(COMPILE)
  65. yylex.obj yylex.c lex.h
  66.     $(COMPILE)
  67. ytab.c lex.y
  68. # ytab is a batch file
  69.     ytab lex
  70. touch
  71.     touch lex.c
  72.     touch eclosu.c
  73.     touch gettok.c
  74.     touch impure.c
  75.     touch integ.c
  76.     touch lexcha.c
  77.     touch lexerr.c
  78.     touch lexech.c
  79.     touch lmovi.c
  80.     touch commen.c
  81.     touch lexlen.c
  82.     touch lmovb.c
  83.     touch lexpee.c
  84.     touch lexswi.c
  85.     touch mapch.c
  86.     touch llsave.c
  87.     touch chprint.c
  88.     touch lexget.c
  89.     touch outa.c
  90.     touch outb.c
  91.     touch min.c
  92.     touch lexsrt.c
  93.     touch ytab.c
  94.     touch base.c
  95.     touch dfa.c
  96.     touch token.c
  97.     touch yylex.c
  98. lex.lib commen.obj gettok.obj integ.obj lexcha.obj lexlen.obj lmovi.obj lmovb.obj
  99. +lexpee.obj lexswi.obj mapch.obj token.obj llsave.obj lexerr.obj lexget.obj
  100. +yylex.obj lexech.obj
  101.     \lc\plib86 @makelib
  102. clear.exe clear.lxi
  103.     lex -e clear
  104.     cle clear
  105.     linkml clear
  106. lint
  107.     lint lex
  108. pr.exe
  109.     lex -e pr
  110.     cle pr
  111.     linkml pr
  112. elib
  113. clear.exe clear.lxi
  114.     lex -e clear
  115.     cle clear
  116.     linkml clear
  117. lint
  118.     lint lex
  119. pr.exe
  120.     lex